/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.request;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

/**
 *@ClassName: Request
 *@Description: 基础请求参数
 *@date 2017年6月23日 上午10:08:02
 */
public class Request implements Serializable {

	/**
	 *@Fields serialVersionUID : 
	 */
	private static final long serialVersionUID = 4649206453446649996L;

	/**企业code*/
	@ApiModelProperty(value="登录用户企业code")
	@NotBlank(message="登录用户企业code不可为空")
	private String enterpriseCode;
	
	@ApiModelProperty(value="登录用户Id")
	@NotNull(message="登录用户Id不可为空")
	private Integer userId;
	
	@ApiModelProperty(value="登录用户经销商Id")
	@NotNull(message="登录用户经销商id不可为空")
	private Integer userDealerId;

	/**
	 *@return the enterpriseCode
	 */
	public String getEnterpriseCode() {
		return enterpriseCode;
	}

	/**
	 *@param enterpriseCode the enterpriseCode to set
	 */
	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}

	/**
	 *@return the userId
	 */
	public Integer getUserId() {
		return userId;
	}

	/**
	 *@param userId the userId to set
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	/**
	 *@return the userDealerId
	 */
	public Integer getUserDealerId() {
		return userDealerId;
	}

	/**
	 *@param userDealerId the userDealerId to set
	 */
	public void setUserDealerId(Integer userDealerId) {
		this.userDealerId = userDealerId;
	}

}
